rockchip: i2c: fix >32 byte reads
authorWadim Egorov <[email protected]>
Thu, 3 Aug 2017 11:48:11 +0000 (13:48 +0200)
committerPhilipp Tomsich <[email protected]>
Tue, 5 Sep 2017 09:13:36 +0000 (11:13 +0200)
commit5deaa530280fda91b8fef632c62c94e7bfd89561
tree3d887dca6d16fa559240e23df26461592ad5b2df
parent313bbcf0ea91db33bdf6ac394e26acff4215bfcf
rockchip: i2c: fix >32 byte reads

The hw can read up to 32 bytes at a time. If we need
more than one chunk, we have to enter the plain RX mode.

Signed-off-by: Wadim Egorov <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
drivers/i2c/rk_i2c.c